package com.sambo.inspection.bean;

import java.io.Serializable;

/**
 * Created by xulc on 2018/7/27.
 */

public class TreePointBean implements Serializable {
    private String id;        // 7241,          //账号id
    private String deptName; // "用户原因",    //原因名称
    private String pid;   // 0,           //父id     0表示父节点
    private String ISLEAF;     //0,            //是否是叶子节点   1为叶子节点
    private int dispOrder; // 1       //同一个级别的显示顺序
    private boolean isExpand = false;  //是否展开了
    private boolean isSelected = false; //是否选中了

    public TreePointBean() {

    }

    public TreePointBean(String id, String deptName, String pid, String ISLEAF, int dispOrder) {
        this.id = id;
        this.deptName = deptName;
        this.pid = pid;
        this.ISLEAF = ISLEAF;
        this.dispOrder = dispOrder;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getISLEAF() {
        return ISLEAF;
    }

    public void setISLEAF(String ISLEAF) {
        this.ISLEAF = ISLEAF;
    }

    public int getDispOrder() {
        return dispOrder;
    }

    public void setDispOrder(int dispOrder) {
        this.dispOrder = dispOrder;
    }

    public boolean isExpand() {
        return isExpand;
    }

    public void setExpand(boolean expand) {
        isExpand = expand;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }
}